<?php

namespace App\Http\Requests\Auth\ResetPassword;

use App\Http\Requests\AbstractRequest;

class SmsResetRequest extends AbstractRequest
{

    /**
     * 验证规则
     *
     * @return array
     */
    public function rules()
    {
        return [
            'mobile' => 'required|mobile',
            'password' => 'required|password|confirmed'
        ];
    }
}
